package com.bjpowernode.powernotify.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MessageWrapper {
    private String notifyId;
    private String userNo;
    private String orderNo;
    private String txNo;
    private String orderAmount;
    private String payResult;
    private String payWayCode;
    private String notifyUrl;

    //最后通知的时间
    private Date lastNotifyDate;

    //通知次数
    private Integer notifyTimes=0;
    //最大通知次数
    private Integer maxNotifyTimes=0;

    //通知次数和时间间隔
    private Map<Integer,Integer> notifyRule;
}
